[INFO] fetching crate emerald-vault 0.31.0...
[INFO] checking emerald-vault-0.31.0 against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] extracting crate emerald-vault 0.31.0 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate emerald-vault 0.31.0 on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate emerald-vault 0.31.0
[INFO] finished tweaking crates.io crate emerald-vault 0.31.0
[INFO] tweaked toml for crates.io crate emerald-vault 0.31.0 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a5240cae9d1f3563bc2e31e28d1b20399ce379a08004c1e37aa99a25b3ac3ef
[INFO] running `Command { std: "docker" "start" "-a" "0a5240cae9d1f3563bc2e31e28d1b20399ce379a08004c1e37aa99a25b3ac3ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a5240cae9d1f3563bc2e31e28d1b20399ce379a08004c1e37aa99a25b3ac3ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a5240cae9d1f3563bc2e31e28d1b20399ce379a08004c1e37aa99a25b3ac3ef", kill_on_drop: false }`
[INFO] [stdout] 0a5240cae9d1f3563bc2e31e28d1b20399ce379a08004c1e37aa99a25b3ac3ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b27f9ee8397207656bdc68e8dd8b9e7baab7b62598d02fbf367155a128a57697
[INFO] running `Command { std: "docker" "start" "-a" "b27f9ee8397207656bdc68e8dd8b9e7baab7b62598d02fbf367155a128a57697", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]     Checking bitcoin_hashes v0.10.0
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking bech32 v0.8.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking regex-syntax v0.6.26
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking base64ct v1.0.1
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling protobuf v2.25.2
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling emerald-hwkey v0.3.0
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]     Checking keccak v0.1.2
[INFO] [stderr]    Compiling emerald-vault v0.31.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking rustc-hex v1.0.0
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking fs_extra v1.2.0
[INFO] [stderr]     Checking either v1.7.0
[INFO] [stderr]     Checking bencher v0.1.5
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]     Checking miniz_oxide v0.5.3
[INFO] [stderr]     Checking password-hash v0.3.2
[INFO] [stderr]    Compiling secp256k1-sys v0.5.2
[INFO] [stderr]    Compiling hidapi v1.4.1
[INFO] [stderr]     Checking rlp v0.5.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking tiny-keccak v1.5.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking time v0.3.11
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking cipher v0.2.5
[INFO] [stderr]     Checking crypto-mac v0.9.1
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking colored v1.9.3
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]     Checking zip v0.6.2
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking ripemd160 v0.9.1
[INFO] [stderr]     Checking hmac v0.9.0
[INFO] [stderr]     Checking ctr v0.6.0
[INFO] [stderr]     Checking aes-soft v0.6.4
[INFO] [stderr]     Checking pbkdf2 v0.5.0
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking simple_logger v1.16.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking byte-array-struct v0.2.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking blake2 v0.10.4
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha3 v0.10.1
[INFO] [stderr]     Checking aes-ctr v0.6.0
[INFO] [stderr]     Checking pbkdf2 v0.10.1
[INFO] [stderr]     Checking argon2 v0.3.4
[INFO] [stderr]     Checking scrypt v0.4.1
[INFO] [stderr]     Checking quickcheck v0.9.2
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]     Checking secp256k1 v0.22.1
[INFO] [stderr]    Compiling enum-display-derive v0.1.1
[INFO] [stderr]     Checking num v0.3.1
[INFO] [stderr]     Checking bitcoin v0.28.1
[INFO] [stderr]     Checking ethabi v2.0.1
[INFO] [stderr]     Checking hdpath v0.6.1
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stdout] warning: unused import: `PRIVATE_KEY_BYTES`
[INFO] [stdout]   --> src/blockchain/ethereum/address.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::{EthereumPrivateKey, PRIVATE_KEY_BYTES, keccak256};
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]   --> src/convert/json/keyfile.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde::Deserialize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GlobalKeyRef`
[INFO] [stdout]   --> src/crypto/pk.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::structs::crypto::{GlobalKey, GlobalKeyRef};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SeedSource`, `crypto::Encrypted`, `mnemonic::Mnemonic`
[INFO] [stdout]  --> src/crypto/seed.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     mnemonic::Mnemonic,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 3 |     structs::{
[INFO] [stdout] 4 |         crypto::Encrypted,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |         seed::{Seed, SeedSource},
[INFO] [stdout]   |                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/crypto/seed.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/crypto/seed.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::structs::crypto::GlobalKey`
[INFO] [stdout]   --> src/crypto/seed.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::structs::crypto::GlobalKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `blockchain::chains::EthereumChainId`
[INFO] [stdout]  --> src/sign/ethereum.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     blockchain::chains::EthereumChainId,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `book::AddressRef`
[INFO] [stdout]   --> src/storage/vault.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         book::AddressRef,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/storage/global_key.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GlobalKeyRef`
[INFO] [stdout]  --> src/storage/global_key.rs:8:52
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::structs::crypto::{Encrypted, GlobalKey, GlobalKeyRef};
[INFO] [stdout]   |                                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::structs::pk::PrivateKeyHolder`
[INFO] [stdout]  --> src/storage/admin.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::structs::pk::PrivateKeyHolder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::RngCore`
[INFO] [stdout]  --> src/structs/crypto.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::RngCore;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::rngs::OsRng`
[INFO] [stdout]  --> src/structs/crypto.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::rngs::OsRng;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::crypto::error::CryptoError`
[INFO] [stdout]  --> src/structs/crypto.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::crypto::error::CryptoError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PRIVATE_KEY_BYTES`
[INFO] [stdout]   --> src/blockchain/ethereum/address.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::{EthereumPrivateKey, PRIVATE_KEY_BYTES, keccak256};
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]   --> src/convert/json/keyfile.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde::Deserialize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TryInto`
[INFO] [stdout]    --> src/convert/proto/crypto.rs:273:33
[INFO] [stdout]     |
[INFO] [stdout] 273 |     use std::convert::{TryFrom, TryInto};
[INFO] [stdout]     |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GlobalKeyRef`
[INFO] [stdout]    --> src/convert/proto/seed.rs:180:45
[INFO] [stdout]     |
[INFO] [stdout] 180 |     use crate::structs::crypto::{GlobalKey, GlobalKeyRef};
[INFO] [stdout]     |                                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GlobalKeyRef`
[INFO] [stdout]   --> src/crypto/pk.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::structs::crypto::{GlobalKey, GlobalKeyRef};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PRIVATE_KEY_BYTES`
[INFO] [stdout]   --> src/sign/bip32.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         PRIVATE_KEY_BYTES,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `storage::entry::AddEntryOptions`
[INFO] [stdout]    --> src/sign/bitcoin.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |         storage::entry::AddEntryOptions,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AccountHDPath`
[INFO] [stdout]    --> src/sign/bitcoin.rs:336:34
[INFO] [stdout]     |
[INFO] [stdout] 336 |     use hdpath::{StandardHDPath, AccountHDPath};
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempdir::TempDir`
[INFO] [stdout]    --> src/sign/bitcoin.rs:340:9
[INFO] [stdout]     |
[INFO] [stdout] 340 |     use tempdir::TempDir;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::storage::vault::VaultStorage`
[INFO] [stdout]    --> src/sign/bitcoin.rs:341:9
[INFO] [stdout]     |
[INFO] [stdout] 341 |     use crate::storage::vault::VaultStorage;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::structs::seed::LedgerSource`
[INFO] [stdout]    --> src/sign/bitcoin.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |     use crate::structs::seed::LedgerSource;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::structs::wallet::Wallet`
[INFO] [stdout]    --> src/sign/bitcoin.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |     use crate::structs::wallet::Wallet;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `blockchain::chains::EthereumChainId`
[INFO] [stdout]  --> src/sign/ethereum.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     blockchain::chains::EthereumChainId,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `to_32bytes`
[INFO] [stdout]    --> src/sign/ethereum.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |         to_32bytes,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tests::*`
[INFO] [stdout]    --> src/storage/vault_ethereum.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 189 |         tests::*,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `book::AddressRef`
[INFO] [stdout]   --> src/storage/vault.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         book::AddressRef,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/storage/global_key.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GlobalKeyRef`
[INFO] [stdout]  --> src/storage/global_key.rs:8:52
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::structs::crypto::{Encrypted, GlobalKey, GlobalKeyRef};
[INFO] [stdout]   |                                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::structs::pk::PrivateKeyHolder`
[INFO] [stdout]  --> src/storage/admin.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::structs::pk::PrivateKeyHolder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::RngCore`
[INFO] [stdout]  --> src/structs/crypto.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::RngCore;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::rngs::OsRng`
[INFO] [stdout]  --> src/structs/crypto.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::rngs::OsRng;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::crypto::error::CryptoError`
[INFO] [stdout]  --> src/structs/crypto.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::crypto::error::CryptoError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AccountHDPath`
[INFO] [stdout]    --> src/structs/wallet.rs:304:18
[INFO] [stdout]     |
[INFO] [stdout] 304 |     use hdpath::{AccountHDPath, StandardHDPath};
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `XPub`
[INFO] [stdout]    --> src/structs/wallet.rs:308:51
[INFO] [stdout]     |
[INFO] [stdout] 308 |     use crate::blockchain::bitcoin::{AddressType, XPub};
[INFO] [stdout]     |                                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/book.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | use protobuf::{parse_from_bytes, Message};
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/book.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let m = parse_from_bytes::<proto_BookItem>(value)?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/pk.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 | use protobuf::{parse_from_bytes, Message};
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/pk.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let m = parse_from_bytes::<proto_PrivateKey>(data)?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/seed.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 | use protobuf::{parse_from_bytes, Message};
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]    --> src/convert/proto/seed.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let m = parse_from_bytes::<proto_Seed>(data)?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/wallet.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 | use protobuf::{parse_from_bytes, Message};
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]    --> src/convert/proto/wallet.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let m = parse_from_bytes::<proto_Wallet>(value)?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `bitcoin::util::bip143::SighashComponents`: please use [sighash::SighashCache] instead
[INFO] [stdout]   --> src/sign/bitcoin.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |     util::{bip143::SighashComponents, bip32::ChildNumber, psbt::serialize::Serialize},
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `bitcoin::SigHashType`: Please use [`EcdsaSighashType`] instead
[INFO] [stdout]   --> src/sign/bitcoin.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     SigHashType,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `secp256k1::Signature`: Use ecdsa::Signature instead.
[INFO] [stdout]   --> src/sign/bitcoin.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 28 | use secp256k1::{All, Message, Secp256k1, Signature};
[INFO] [stdout]    |                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `secp256k1::Signature`: Use ecdsa::Signature instead.
[INFO] [stdout]   --> src/sign/bitcoin.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn encode_signature(sig: Signature) -> Vec<u8> {
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `bitcoin::SigHashType`: Please use [`EcdsaSighashType`] instead
[INFO] [stdout]   --> src/sign/bitcoin.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |     result.push(SigHashType::All as u8);
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `bitcoin::util::bip143::SighashComponents`: please use [sighash::SighashCache] instead
[INFO] [stdout]    --> src/sign/bitcoin.rs:175:20
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let hash = SighashComponents::new(tx)
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> src/storage.rs:74:31
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut config_dir = env::home_dir().expect("Expect path to home dir");
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/book.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | use protobuf::{parse_from_bytes, Message};
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/book.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let m = parse_from_bytes::<proto_BookItem>(value)?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/book.rs:89:20
[INFO] [stdout]    |
[INFO] [stdout] 89 |     use protobuf::{parse_from_bytes, Message};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]    --> src/convert/proto/book.rs:110:19
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let act = parse_from_bytes::<proto_BootItem>(b.as_slice()).unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/pk.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 | use protobuf::{parse_from_bytes, Message};
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/pk.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let m = parse_from_bytes::<proto_PrivateKey>(data)?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]    --> src/convert/proto/pk.rs:103:20
[INFO] [stdout]     |
[INFO] [stdout] 103 |     use protobuf::{parse_from_bytes, Message, ProtobufEnum};
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]    --> src/convert/proto/pk.rs:118:19
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let act = parse_from_bytes::<proto_PrivateKey>(b.as_slice()).unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]    --> src/convert/proto/pk.rs:146:21
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let mut m = parse_from_bytes::<proto_PrivateKey>(tmp.as_slice()).unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/seed.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 | use protobuf::{parse_from_bytes, Message};
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]    --> src/convert/proto/seed.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let m = parse_from_bytes::<proto_Seed>(data)?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]    --> src/convert/proto/seed.rs:172:20
[INFO] [stdout]     |
[INFO] [stdout] 172 |     use protobuf::{parse_from_bytes, Message, ProtobufEnum};
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]    --> src/convert/proto/seed.rs:193:19
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let act = parse_from_bytes::<proto_Seed>(b.as_slice()).unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]   --> src/convert/proto/wallet.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 | use protobuf::{parse_from_bytes, Message};
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]    --> src/convert/proto/wallet.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let m = parse_from_bytes::<proto_Wallet>(value)?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]    --> src/convert/proto/wallet.rs:232:20
[INFO] [stdout]     |
[INFO] [stdout] 232 |     use protobuf::{parse_from_bytes, Message, ProtobufEnum};
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead
[INFO] [stdout]    --> src/convert/proto/wallet.rs:269:19
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let act = parse_from_bytes::<proto_Wallet>(b.as_slice()).unwrap();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `bitcoin::util::bip143::SighashComponents`: please use [sighash::SighashCache] instead
[INFO] [stdout]   --> src/sign/bitcoin.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |     util::{bip143::SighashComponents, bip32::ChildNumber, psbt::serialize::Serialize},
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `bitcoin::SigHashType`: Please use [`EcdsaSighashType`] instead
[INFO] [stdout]   --> src/sign/bitcoin.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     SigHashType,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `secp256k1::Signature`: Use ecdsa::Signature instead.
[INFO] [stdout]   --> src/sign/bitcoin.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 28 | use secp256k1::{All, Message, Secp256k1, Signature};
[INFO] [stdout]    |                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `secp256k1::Signature`: Use ecdsa::Signature instead.
[INFO] [stdout]   --> src/sign/bitcoin.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn encode_signature(sig: Signature) -> Vec<u8> {
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `bitcoin::SigHashType`: Please use [`EcdsaSighashType`] instead
[INFO] [stdout]   --> src/sign/bitcoin.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |     result.push(SigHashType::All as u8);
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `bitcoin::util::bip143::SighashComponents`: please use [sighash::SighashCache] instead
[INFO] [stdout]    --> src/sign/bitcoin.rs:175:20
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let hash = SighashComponents::new(tx)
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> src/storage.rs:74:31
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut config_dir = env::home_dir().expect("Expect path to home dir");
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::ecdsa::recovery::<impl secp256k1::Secp256k1<C>>::sign_recoverable`: Use sign_ecdsa_recoverable instead.
[INFO] [stdout]    --> src/blockchain/ethereum/signature.rs:166:23
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let s = ECDSA.sign_recoverable(&msg, &sk);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::ecdsa::recovery::<impl secp256k1::Secp256k1<C>>::sign_recoverable`: Use sign_ecdsa_recoverable instead.
[INFO] [stdout]    --> src/blockchain/ethereum/signature.rs:179:23
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let s = ECDSA.sign_recoverable(&msg, &sk);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `crypto::encrypted::<impl structs::crypto::Encrypted>::encrypt_ethereum`
[INFO] [stdout]    --> src/convert/json/keyfile.rs:362:36
[INFO] [stdout]     |
[INFO] [stdout] 362 |         let encrypted = Encrypted::encrypt_ethereum(pk.to_vec(), password.as_bytes())?;
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::ecdsa::recovery::<impl secp256k1::Secp256k1<C>>::sign_recoverable`: Use sign_ecdsa_recoverable instead.
[INFO] [stdout]    --> src/blockchain/ethereum/signature.rs:166:23
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let s = ECDSA.sign_recoverable(&msg, &sk);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::ecdsa::recovery::<impl secp256k1::Secp256k1<C>>::sign_recoverable`: Use sign_ecdsa_recoverable instead.
[INFO] [stdout]    --> src/blockchain/ethereum/signature.rs:179:23
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let s = ECDSA.sign_recoverable(&msg, &sk);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `crypto::encrypted::<impl structs::crypto::Encrypted>::encrypt_ethereum`
[INFO] [stdout]    --> src/convert/json/keyfile.rs:362:36
[INFO] [stdout]     |
[INFO] [stdout] 362 |         let encrypted = Encrypted::encrypt_ethereum(pk.to_vec(), password.as_bytes())?;
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `bitcoin::util::bip32::ExtendedPubKey::from_private`: use ExtendedPubKey::from_priv
[INFO] [stdout]   --> src/sign/bip32.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |     Ok(ExtendedPubKey::from_private(&DEFAULT_SECP256K1, &sec_key))
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::ecdsa::<impl secp256k1::Secp256k1<C>>::sign`: Use sign_ecdsa instead.
[INFO] [stdout]    --> src/sign/bitcoin.rs:182:43
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let signature = DEFAULT_SECP256K1.sign(&msg, &pk.inner);
[INFO] [stdout]     |                                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `bitcoin::util::bip32::ExtendedPubKey::from_private`: use ExtendedPubKey::from_priv
[INFO] [stdout]   --> src/storage/vault_bitcoin.rs:46:32
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let xpub = ExtendedPubKey::from_private(&DEFAULT_SECP256K1, &xprv);
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `bitcoin::util::bip32::ExtendedPubKey::from_private`: use ExtendedPubKey::from_priv
[INFO] [stdout]   --> src/sign/bip32.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |     Ok(ExtendedPubKey::from_private(&DEFAULT_SECP256K1, &sec_key))
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::ecdsa::<impl secp256k1::Secp256k1<C>>::sign`: Use sign_ecdsa instead.
[INFO] [stdout]    --> src/sign/bitcoin.rs:182:43
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let signature = DEFAULT_SECP256K1.sign(&msg, &pk.inner);
[INFO] [stdout]     |                                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `bitcoin::util::bip32::ExtendedPubKey::from_private`: use ExtendedPubKey::from_priv
[INFO] [stdout]   --> src/storage/vault_bitcoin.rs:46:32
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let xpub = ExtendedPubKey::from_private(&DEFAULT_SECP256K1, &xprv);
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoin_hashes::HashEngine`
[INFO] [stdout]   --> src/sign/bitcoin.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use bitcoin_hashes::HashEngine;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `archive`
[INFO] [stdout]    --> src/storage/addressbook.rs:261:55
[INFO] [stdout]     |
[INFO] [stdout] 261 |     fn update_multiple(&self, entry: AddressBookmark, archive: &Archive) -> Result<bool, VaultError> {
[INFO] [stdout]     |                                                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archive`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/convert/proto/crypto.rs:243:13
[INFO] [stdout]     |
[INFO] [stdout] 243 |         let mut proto_key: proto_Encrypted = proto_Encrypted::try_from(&value.key)?;
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoin_hashes::HashEngine`
[INFO] [stdout]   --> src/sign/bitcoin.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use bitcoin_hashes::HashEngine;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seed_id`
[INFO] [stdout]    --> src/convert/proto/seed.rs:239:13
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let seed_id = seed.id.clone();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seed_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `archive`
[INFO] [stdout]    --> src/storage/addressbook.rs:261:55
[INFO] [stdout]     |
[INFO] [stdout] 261 |     fn update_multiple(&self, entry: AddressBookmark, archive: &Archive) -> Result<bool, VaultError> {
[INFO] [stdout]     |                                                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `global`
[INFO] [stdout]    --> src/storage/global_key.rs:466:13
[INFO] [stdout]     |
[INFO] [stdout] 466 |         let global = Some(global_store.get().unwrap());
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_global`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/convert/proto/crypto.rs:243:13
[INFO] [stdout]     |
[INFO] [stdout] 243 |         let mut proto_key: proto_Encrypted = proto_Encrypted::try_from(&value.key)?;
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `message_hash` is never used
[INFO] [stdout]    --> src/blockchain/ethereum/signature.rs:268:4
[INFO] [stdout]     |
[INFO] [stdout] 268 | fn message_hash(msg: &str) -> [u8; KECCAK256_BYTES] {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bytes_hash` is never used
[INFO] [stdout]    --> src/blockchain/ethereum/signature.rs:272:4
[INFO] [stdout]     |
[INFO] [stdout] 272 | fn bytes_hash(data: &[u8]) -> [u8; KECCAK256_BYTES] {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prefix` is never used
[INFO] [stdout]    --> src/blockchain/ethereum/signature.rs:279:4
[INFO] [stdout]     |
[INFO] [stdout] 279 | fn prefix(data: &[u8]) -> String {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `language` is never read
[INFO] [stdout]   --> src/mnemonic.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Mnemonic {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 44 |     language: Language,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Mnemonic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `base_dir` is never read
[INFO] [stdout]   --> src/storage.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct Storages {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 62 |     /// base dir
[INFO] [stdout] 63 |     base_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Storages` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `keys` and `global` are never read
[INFO] [stdout]    --> src/storage/vault.rs:399:5
[INFO] [stdout]     |
[INFO] [stdout] 397 | pub struct CreateWallet {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 398 |     storage: Arc<VaultStorage>,
[INFO] [stdout] 399 |     keys: Arc<dyn VaultAccessByFile<PrivateKeyHolder>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 403 |     global: Option<GlobalKey>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create` is never used
[INFO] [stdout]    --> src/structs/crypto.rs:142:19
[INFO] [stdout]     |
[INFO] [stdout] 142 |     pub(crate) fn create(nonce: Vec<u8>) -> Result<GlobalKeyRef, VaultError> {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 46 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `language` is never read
[INFO] [stdout]   --> src/mnemonic.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Mnemonic {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 44 |     language: Language,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `Mnemonic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `base_dir` is never read
[INFO] [stdout]   --> src/storage.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct Storages {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 62 |     /// base dir
[INFO] [stdout] 63 |     base_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Storages` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `keys` and `global` are never read
[INFO] [stdout]    --> src/storage/vault.rs:399:5
[INFO] [stdout]     |
[INFO] [stdout] 397 | pub struct CreateWallet {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 398 |     storage: Arc<VaultStorage>,
[INFO] [stdout] 399 |     keys: Arc<dyn VaultAccessByFile<PrivateKeyHolder>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 403 |     global: Option<GlobalKey>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_test_addresses` is never used
[INFO] [stdout]    --> src/lib.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn read_test_addresses() -> Vec<TestAddress> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 63 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Kdf`
[INFO] [stdout]   --> benches/bench_crypto.rs:25:51
[INFO] [stdout]    |
[INFO] [stdout] 25 | use emerald::structs::crypto::{Argon2, GlobalKey, Kdf};
[INFO] [stdout]    |                                                   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 51.04s
[INFO] running `Command { std: "docker" "inspect" "b27f9ee8397207656bdc68e8dd8b9e7baab7b62598d02fbf367155a128a57697", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b27f9ee8397207656bdc68e8dd8b9e7baab7b62598d02fbf367155a128a57697", kill_on_drop: false }`
[INFO] [stdout] b27f9ee8397207656bdc68e8dd8b9e7baab7b62598d02fbf367155a128a57697
